package ooday02;

public class ExtendsTest {
    public static void main(String[] args) {
        Student zs=new Student("张三",9,"翻斗花园","翻斗幼儿园","001");

        zs.eat();
        zs.sleep();
        zs.study();
        zs.sayHi();


        Teacher ls=new Teacher("李四",6,"医大二院住院部",96663.3);

        ls.teach();



        Doctor ww =new Doctor("王五",99,"医大二院家属楼","神经科院长");

        ww.cut();


    }

}
